from django.db import models
from users.models import User
# Create your models here.


class Lives(models.Model):
    user = models.ForeignKey(User, verbose_name='用户', on_delete=models.CASCADE)
    video = models.CharField(verbose_name='我的直播', max_length=50)

    class Meta:
        verbose_name = '直播'
        verbose_name_plural = verbose_name

